/*----------------[ common ]-----------------*/

.paddingTop {
  padding-top         : 8px;
}

.paddingLeft {
  padding-left        : 8px;
}

.paddingRight {
  padding-right       : 8px;
}

.overflowBox {
  overflow            : auto;
}

.boldText {
  font-weight         : bold;
}

.textLink {
  color               : blue;
  cursor              : pointer;
}

.required[missing="true"] {
  -moz-appearance     : none;
  border              : 1px solid ThreeDShadow;
  background-color    : #f5f6be;
}

textbox[type="number"][hidespinbuttons="true"] {
  padding             : 2px 2px 3px 4px !important;
}

/*----------------[ fireftp.xul ]-----------------*/

toolbarbutton {
  -moz-user-focus: normal;
}
#retrieveButton {
  list-style-image    : url("chrome://fireftp/skin/icons/fireftp.png");
  -moz-image-region   : rect(0px 16px 16px 0px);
}
#retrieveButton:not([disabled="true"]):hover,
#retrieveButton[buttonover="true"] {
  -moz-image-region: rect(16px 16px 32px 0px);
}
#retrieveButton[disabled="true"] {
  -moz-image-region: rect(32px 16px 48px 0px);
}
#retrieveButton:not([disabled="true"]):hover:active {
  -moz-image-region: rect(48px 16px 64px 0px);
}

#storeButton {
  list-style-image    : url("chrome://fireftp/skin/icons/fireftp.png");
  -moz-image-region   : rect(0px 32px 16px 16px);
}
#storeButton:not([disabled="true"]):hover,
#storeButton[buttonover="true"] {
  -moz-image-region: rect(16px 32px 32px 16px);
}
#storeButton[disabled="true"] {
  -moz-image-region: rect(32px 32px 48px 16px);
}
#storeButton:not([disabled="true"]):hover:active {
  -moz-image-region: rect(48px 32px 64px 16px);
}

.upButton {
  list-style-image    : url("chrome://fireftp/skin/icons/fireftp.png");
  -moz-image-region   : rect(0px 48px 16px 32px);
  padding             : 3px 0px 3px 5px !important;
}
.upButton:not([disabled="true"]):hover,
.upButton[buttonover="true"] {
  -moz-image-region: rect(16px 48px 32px 32px);
}
.upButton[disabled="true"] {
  -moz-image-region: rect(32px 48px 48px 32px);
}
.upButton:not([disabled="true"]):hover:active {
  -moz-image-region: rect(48px 48px 64px 32px);
}

.refreshButton {
  list-style-image    : url("chrome://fireftp/skin/icons/fireftp.png");
  -moz-image-region   : rect(0px 64px 16px 48px);
  padding             : 3px 0px 3px 5px !important;
}
.refreshButton:not([disabled="true"]):hover,
.refreshButton[buttonover="true"] {
  -moz-image-region: rect(16px 64px 32px 48px);
}
.refreshButton[disabled="true"] {
  -moz-image-region: rect(32px 64px 48px 48px);
}
.refreshButton:not([disabled="true"]):hover:active {
  -moz-image-region: rect(48px 64px 64px 48px);
}

treechildren::-moz-tree-image(nameCol) {
  margin-right        : 2px;
}

.fileTree::-moz-tree-image(isFolder), .dirTree::-moz-tree-image(closed) {
  list-style-image    : url("chrome://fireftp/skin/icons/fireftp.png");
  -moz-image-region   : rect(0px 79px 16px 64px);
  margin-right        : 2px;
}

.dirTree::-moz-tree-image(open) {
  list-style-image    : url("chrome://fireftp/skin/icons/fireftp.png");
  -moz-image-region   : rect(0px 96px 16px 80px);
  margin-right        : 1px;
}

.fileTree::-moz-tree-image(isLink) {
  list-style-image    : url("chrome://fireftp/skin/icons/fireftp.png");
  -moz-image-region   : rect(0px 112px 16px 96px);
}

.fileTree::-moz-tree-cell-text(hidden), .fileTree::-moz-tree-cell-text(cut), .dirTree::-moz-tree-cell-text(hidden) {
  color               : GrayText;
}

#retrieveButton, #storeButton {
  margin-left         : 3px;
  margin-right        : 3px;
  -moz-box-pack       : center;
  min-width           : 0px;
}

#localsize, #remotesize, #queuebytes, #queueela, #queuerem, #queuerate, #queuepercent {
  text-align          : right;
}

#cmdlog {
  background-color    : white;
  min-height          : 30px;
}

statusbarpanel {
  text-align          : center;
}

#statustxt {
  text-align          : left;
}

#statustype {
  min-width           : 60px;
}

#statuselapsed, #statusremaining {
  min-width           : 75px;
}

#statusrate {
  min-width           : 85px;
}

#statusmeterpanel {
  padding             : 0px 4px;
}

#statusmeter {
  min-width           : 96px;
  margin              : 1px 0px;
}

#remotepath[disconnected="true"] {
  color               : GrayText;
}

#localdirtree treecols, #remotedirtree treecols {
  height              : 0px;
}

treechildren::-moz-tree-cell-text(dropBefore, nameCol, overName) {
  color               : HighlightText;
  background-color    : Highlight;
}

treechildren::-moz-tree-cell-text(dropAfter, nameCol, overName) {
  color               : HighlightText;
  background-color    : Highlight;
}

treechildren::-moz-tree-drop-feedback {
  background-color    : transparent;
}

treechildren::-moz-tree-cell-text(disconnected) {
  color               : GrayText;
}

treechildren[search="true"] {
  background-color    : #ccffcc;
}

#remotepath[security="on"] > .autocomplete-textbox-container {
  background-color    : #F5F6BE; /* #F7F898; */
  color               : #000000;
}

#identity-box {
  background-color    : -moz-dialog;
  -moz-appearance     : toolbox;
  border-right        : 1px solid ThreeDShadow;
}

#identity-box.verifiedIdentity {
  outline-color       : highlight;
}

#identity-box:hover {
  outline-color       : ThreeDDarkShadow;
}

#page-proxy-deck, #page-proxy-favicon, #page-proxy-button {
  width               : 16px;
  height              : 16px;
}

#localpath > hbox {
  height              : 20px;
}

#page-proxy-deck {
  margin              : 2px 3px;
}

#page-proxy-favicon {
  list-style-image    : none;
}

#page-proxy-button {
  list-style-image    : url("chrome://fireftp/skin/icons/fireftp.png") !important;
  -moz-image-region   : rect(16px, 112px, 32px, 96px);
}

#searchToolbar {
  -moz-appearance           : none !important;
  border-top                : 2px solid;
  -moz-border-top-colors    : ThreeDShadow ThreeDHighlight !important;
  border-bottom             : 1px solid;
  -moz-border-bottom-colors : transparent;  
}

#searchClosebutton {
  border              : 1px solid transparent;
  padding             : 3px 2px 4px 2px !important;
  list-style-image    : url("chrome://fireftp/skin/icons/close.png");
  -moz-appearance     : none;
  -moz-image-region   : rect(0px, 16px, 16px, 0px);
}

#searchClosebutton > .toolbarbutton-icon {
  -moz-margin-end     : 0px !important;
  -moz-padding-end    : 2px !important;
  -moz-padding-start  : 2px !important;
}

#searchClosebutton:hover {
  -moz-image-region   : rect(0px, 32px, 16px, 16px);
}

#searchClosebutton:hover:active {
  -moz-image-region   : rect(0px, 48px, 16px, 32px);
}

#searchStatusIcon {
  list-style-image    : none;
  margin-top          : 2px;
  margin-bottom       : 0px;
  -moz-margin-start   : 12px;
  -moz-margin-end     : 0px;
  width               : 16px;
  height              : 16px;
}

#searchStatus {
  margin-top          : 0px;
  margin-bottom       : 0px;
  -moz-margin-start   : 3px;
  -moz-margin-end     : 0px;
  padding             : 2px;
}

#searchStatusIcon[status="notfound"] {
  list-style-image    : url("chrome://fireftp/skin/icons/notfound.png");
}

#searchFile {
  -moz-appearance     : none;
  border              : none;
  margin              : 0px;
}

#searchFile[status="notfound"] {
  background-color    : #ff6666;
  color               : #ffffff;
}

#searchContainer {
  -moz-appearance     : textfield;
}

#lqtabs {
  padding             : 0px;
}

#cmdlog {
  border              : 2px solid;
  -moz-border-top-colors    : ThreeDShadow    ThreeDDarkShadow;
  -moz-border-right-colors  : ThreeDHighlight ThreeDLightShadow;
  -moz-border-bottom-colors : ThreeDHighlight ThreeDLightShadow;
  -moz-border-left-colors   : ThreeDShadow    ThreeDDarkShadow;  
}

/* Popup Icons */
#identity-popup-icon {
  height              : 64px;
  width               : 64px;
  padding             : 0;
  margin              : 0;
  list-style-image    : url("chrome://fireftp/skin/icons/identity.png");
  -moz-image-region   : rect(0px, 64px, 64px, 0px);
}

#identity-popup-container.verifiedDomain > #identity-popup-icon {
  -moz-image-region   : rect(64px, 64px, 128px, 0px);
}

#identity-popup-container.verifiedIdentity > #identity-popup-icon {
  -moz-image-region   : rect(128px, 64px, 192px, 0px);
}

/* Popup Title */
.verifiedIdentity > #identity-popup-title {
  color               : #6A6;
}

.unknownIdentity > #identity-popup-title {
  color               : #999;
}

.verifiedDomain > #identity-popup-title {
  color               : black;
}

/* Popup Body Text */
#identity-popup-content-box > description,
#identity-popup-encryption-label {
  white-space         : -moz-pre-wrap;
  color               : black;
  padding-left        : 10px;
}

#identity-popup-content {
  padding-top         : 5px;
  margin-bottom       : 0;
  max-width           : 300px;
}

.verifiedIdentity > #identity-popup-content,
.verifiedDomain   > #identity-popup-content {
  font-size           : 140%;
  font-weight         : bold;
  max-width           : 300px;
}

#identity-popup-encryption {
  margin              : 10px 0 0;
}

.verifiedIdentity > #identity-popup-encryption,
.verifiedDomain   > #identity-popup-encryption {
  margin              : 30px 0 0 -22px;
}

.verifiedIdentity > #identity-popup-encryption > * > #identity-popup-encryption-icon,
.verifiedDomain   > #identity-popup-encryption > * > #identity-popup-encryption-icon {
  list-style-image    : url("chrome://fireftp/skin/icons/Secure24.png");
  -moz-image-region   : rect(0px, 24px, 24px, 0px);
}

/* Popup Bounding Box */
#identity-popup-container {
  background-image    : none;
  background-color    : white;
  min-width           : 280px;
  padding             : 10px;
}

menuitem[defaultAction="true"] {
  font-weight         : bold;
}

/*----------------[ confirmFile.xul ]-----------------*/

#fileBox {
  border-top          : 1px solid black;
  border-bottom       : 1px solid black;
  margin              : 5px 0px 5px 0px;
  padding             : 5px 0px 5px 0px;
}

/*----------------[ diff.xul ]-----------------*/

#diffTree treechildren::-moz-tree-checkbox(checked) {
  list-style-image    : url("chrome://fireftp/skin/icons/cbox-check.gif");
}

/*----------------[ properties.xul ]-----------------*/

image.isFolder {
  list-style-image    : url("chrome://fireftp/skin/icons/properties.png");
  -moz-image-region   : rect(0px 32px 32px 0px);
}

image.isLink {
  list-style-image    : url("chrome://fireftp/skin/icons/properties.png");
  -moz-image-region   : rect(32px 32px 64px 0px);
}

image.isMultiple {
  list-style-image    : url("chrome://fireftp/skin/icons/properties.png");
  -moz-image-region   : rect(64px 32px 96px 0px);
}

.textfield {
  -moz-appearance     : none;
  border              : 0px;
  margin              : 0px;
  width               : 400px;
}

#webboxDiv {
  line-height         : 135px;
  width               : 188px;
  height              : 150px;
  text-align          : center;
}

#canvas {
  position            : absolute;
  top                 : 0px;
  left                : 0px;
}

#viewButton {
  -moz-box-pack       : center;
  min-width           : 0px;
}

#hashrow {
  margin-top          : 10px;
}

/*----------------[ welcome.xul ]-----------------*/

#thegoodbook {
  background          : maroon;
  color               : white;
  font-style          : italic;
}

.mozillaquote {
  padding             : 25px;
  font-size           : 1.1em;
  font-family         : serif;
  line-height         : 1.5;
  text-align          : center;
}

.mozillafrom {
  padding             : 25px;
  font-size           : 1.95em;
  font-family         : serif;
  text-align          : right;
}

em {
  font-size           : 1.3em;
  line-height         : 0;
}
